{extend name="index_layout"/}
{block name="main"}
<div class="layui-card layer-popup">
    <div class="layui-card-body">
        <div class="admin-main layui-anim layui-anim-upbit">
            <form class="layui-form layui-form-pane" lay-filter="form">
                <div class="layui-form-item">
                    <label class="layui-form-label">{:lang('group title')}</label>
                    <div class="layui-input-inline">
                        <input type="text" name="title" lay-verify="required" placeholder="{:lang('pleaseEnter')}配置名" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">备注</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">{:lang('group name')}</label>
                    <div class="layui-input-inline">
                        <input type="text" name="name" lay-verify="required" placeholder="{:lang('pleaseEnter')}配置名" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">英文字符。不能和当前已有的重复</div>
                </div>

                <div class="layui-form-item layer-footer">
                    <div>
                        <input type="hidden" name="id"  >
                        <button type="button" class="layui-btn" lay-submit="" lay-filter="submit"><i class="layui-icon layui-icon-form"></i> {:lang('submit')}</button>
                        <button type="reset" class="layui-btn layui-btn-primary"> <i class="layui-icon layui-icon-delete"></i>{:lang('reset')}</button>
                    </div>
                </div>
            </form>
        </div>

    </div>
</div>
{/block}
{block name="script"}
<script>
    layui.use(['Admin','laydate'], function() {
        var form = layui.form,
            laydate=layui.laydate,
            $=layui.$;
        var info = '';
        info = {:json_encode($info)};
        form.val("form", info);

        form.render();

    });
</script>
{/block}